const router = require('koa-router')()
const Friend = require('../controllers/friend');

router.prefix('/friend')

router.get('/', function (ctx, next) {
  ctx.body = 'this is a users response!'
})

router.post('/add', Friend.add);
router.get('/list', Friend.list);

module.exports = router
